package dmas.lab.models;

public class Message {

	private final int senderID;
	private final int receiverID;
	private boolean servising = false;

	public Message(int senderID, int receiverID) {
		this.senderID = senderID;
		this.receiverID = receiverID;
	}

	public Message reversed(){
		return new Message(receiverID, senderID);
	}
	
	public int getSenderID() {
		return senderID;
	}

	public int getReceiverID() {
		return receiverID;
	}
	
	public boolean isServising() {
		return servising;
	}
	
	public void setServising(boolean servising) {
		this.servising = servising;
	}
}
